package com.boot;

import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class ApplicationStartupRunner implements CommandLineRunner {

    // 下面的代码，在项目启动时，会执行
    @Override
    public void run(String... args) throws Exception {
        System.out.println("ApplicationStartupRunner run method Started !!");

    }
}
